import {combineReducers} from "redux";
import counter from './reducers/counter';
import userInfo from './reducers/userInfo';

/**reducer就是纯函数，接收state 和 action，然后返回一个新的 state */
export default combineReducers({
        counter,
        userInfo
});